#pragma once

#include <vector>
#include <fstream>
#include <string>
#include <stdexcept>
class RFEFAsciiReader
{
public:
	bool read(std::string filename);

	std::vector<double> _datas;
	std::vector<std::vector<double>> _dims;

	double getValue3D(int ix, int iy, int ih);
	double getValue2D(int ix, int iy);
	
	int _dim0Size = 0;
	int _dim1Size = 0;
	int _dim2Size = 0;
	int _dim1x2Size = 0;
};

